package com.xps.charmingshop.date.net;

import android.support.annotation.Nullable;
import android.util.Log;


import com.xps.charmingshop.utils.SharedPreferencesUtils;

import java.io.IOException;

import okhttp3.Interceptor;
import okhttp3.Request;
import okhttp3.Response;


public class LoggingInterceptor implements Interceptor {

    @Override
    public Response intercept(@Nullable Chain chain) throws IOException {
        Request request = chain.request();
        Request.Builder builder = request.newBuilder();
        builder.url(request.url().toString());
        return chain.proceed(builder.build());
    }
}
